package beans;

public class City {
	private String name;
	private String street;
	private int num;
	private Person person;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getStreet() {
		return street;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	@Override
	public String toString() {
		return "City [name=" + name + ", street=" + street + ", num=" + num + ", person=" + person + "]";
	}
	
	
	
}
